package com.ruoyi.score.domain;


import com.baomidou.mybatisplus.annotation.IdType;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 积分商品管理对象 goods
 * 
 * @author ruoyi
 * @date 2024-08-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Goods implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 商品所需积分 */
    @Excel(name = "商品所需积分")
    private String goodsScore;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String goodsPicture;

    /** 商品介绍 */
    @Excel(name = "商品介绍")
    private String goodsIntroduce;

    /** 商品分类id */
    @Excel(name = "商品分类id")
    private Long goodsTypeId;

    /** 商品分类id */
    @Excel(name = "商品分类id")
    @TableField(exist = false)
    private GoodsType goodsType;

    /** begin积分 */
    @TableField(exist = false)
    private Long beginGoodsScore;

    /** end积分id */
    @TableField(exist = false)
    private Long endGoodsScore;

    /** 已兑换数量 */
    @TableField(exist = false)
    private Long count;

    /** 逻辑删除字段 */
    @TableLogic
    private Long del;
}
